﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DynORM.Interfaces
{
    public interface IORMObject
    {
        IORMObjectDescriptor GetDescriptor();
        CheckIntegrityResult CheckValuesIntegrity(bool usePredefinedConvention);
        //this method is used in case when several rows from the same table are retrieved. in this case structure (RowDescriptor) is checked only once and values (Rows) check do not include structure tests
        CheckIntegrityResult CheckOnlyValuesIntegrity(bool usePredefinedConvention);
}
}
